home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2594 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.1 KB

  1. Path: blue.usps.gov!news
  2. From: Craig Johnson <cjohnso7@email.usps.gov>
  3. Newsgroups: comp.lang.c++
  4. Subject: STL and VC 4.0
  5. Date: Thu, 18 Jan 1996 10:30:58 -0500
  6. Organization: U.S. Postal Service
  7. Message-ID: <30FE67B2.3196@email.usps.gov>
  8. NNTP-Posting-Host: wbissc006.usps.gov
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0b5 (WinNT; I)
  13.  
  14. I just got the book C++ Programmer's Guide to the Standard 
  15. Template Library, read the first 150 pages, and am trying to 
  16. used the vector template.  I am using Visual C++ 4.0 and I get 
  17. the following errors.   
  18.  
  19. d:\apps32\msdev\stl\iterator.h(65) : warning C4114: same type 
  20. qualifier used more than once
  21. d:\apps32\msdev\stl\defalloc.h(124) : error C2661: 'new' : no 
  22. overloaded function takes 2 parameters
  23.  
  24. I did what README.WRI said to do with the namespace 
  25. stuff.  The warning is sort of benign so I don't care 
  26. that much about it but how do I resolve the error.  Anybody have 
  27. an idea.  Please respond by email.
  28. -- 
  29. Thanks in advance,
  30. Craig Johnson
  31. cjohnso7@email.usps.gov
  32.